<!DOCTYPE html>
<html lang="en">
	<head>
		<base href="/">
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- Bootstrap CSS-->
		<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css">
		<!-- Font Awesome CSS-->
		<link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css">
		<!-- Custom Font Icons CSS-->
		<link rel="stylesheet" href="css/font.css">
		<!-- theme stylesheet-->
		<link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
		<!-- Custom stylesheet - for your changes-->
		<link rel="stylesheet" href="css/custom.css">
		<link rel="stylesheet" href="css/layer.css">
		<title>会议详情</title>
		<style>

			.myTitle > input {
            float: right;
            margin-left: 15px;
        }

    </style>
	</head>
	<body>
		<div id="app">
			<header class="header">

			</header>

			<div class="d-flex align-items-stretch">
				<!-- Sidebar Navigation end-->
				<div class="page-content">
					<div class="page-header">
						<div class="container-fluid">
							<h2 class="h5 no-margin-bottom">会议详情</h2>
						</div>
					</div>

					<section class="no-padding-bottom">

						<div class="myTitle">
							<h3 class="text-center">{{meeting.title}}</h3>
							<!--!isNeed-->
							<input disabled v-if="!isNeed" type="submit" value="无需参与" class="btn btn-info">
							<input disabled v-else-if="meeting.status==0" type="submit" value="会议尚未开始" class="btn btn-info">
							<input v-else-if="meeting.status==1&&isNeed&&!isJoin" @click="joinMeeting" type="submit" value="参加会议" class="btn btn-outline-success">
							<input v-else-if="meeting.status==1&&isNeed&&isJoin" @click="cancelMeeting()" type="submit" value="取消会议" class="btn btn btn-outline-danger">
							<input disabled v-else-if="meeting.status==2&&isJoin" type="submit" value="已参与" class="btn btn-success">
							<input disabled v-else-if="meeting.status==2&&!isJoin" type="submit" value="会议缺席" class="btn btn-info">
						</div>

						<div class="myContent">
							<p class="h6"><strong>部门：</strong>{{meeting.deptName}}</p>
							<p class="h6"><strong>应到：</strong>{{needJoinCount}}<span>人</span></p>
							<p class="h6"><strong>实到：</strong>{{joinedMeetingCount}}<span>人</span></p>
							<p class="h6"><strong>未到：</strong>{{needJoinCount-joinedMeetingCount}}<span>人</span></p>
							<textarea style="padding: 2px" disabled="disabled" class="form-control" rows="11">
								{{meeting.content}}
							</textarea>


						</div>

						<div class="text-right myList">
							<p>开始时间：{{meeting.startTime}}</p>
							<p>日期：2019-10-30</p>
						</div>
					</section>

					<footer class="footer">
						<div class="footer__block block no-margin-bottom">
							<div class="container-fluid text-center">
								<p class="no-margin-bottom">Copyright &copy; 2019.Company <a href="#">东方标准</a></p>
							</div>
						</div>
					</footer>
				</div>
			</div>
		</div>
		<!-- JavaScript files-->
		<script src="vendor/jquery/jquery.min.js"></script>
		<script src="vendor/popper.js/umd/popper.min.js"></script>
		<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="vendor/jquery.cookie/jquery.cookie.js"></script>
		<script src="vendor/chart.js/Chart.min.js"></script>
		<script src="vendor/jquery-validation/jquery.validate.min.js"></script>
		<script src="js/charts-home.js"></script>
		<script src="js/front.js"></script>
		<script src="js/custom.js"></script>
		<script src="js/layer.js"></script>
		<script src="js/vue-2.6.11.js"></script>
		<script src="js/axios-0.19.2.min.js"></script>
		<script src="js/jquery-cookie-1.4.1.js"></script>
		<script src="js/meeting/detail.js"></script>
	</body>
</html>
